package com.sunb2b.entity;

/**
 * ProductDetail entity. @author MyEclipse Persistence Tools
 */

public class ProductDetail {

    // Fields

    private Integer id;
    private Product product;
    private Integer orderIndex;
    private CategoryAttr categoryAttr;
    private String attrValue;

    // Constructors

    /** default constructor */
    public ProductDetail() {
    }

    /** full constructor */
    public ProductDetail(Product product, CategoryAttr categoryAttr,
            String attrValue) {
        this.product = product;
        this.categoryAttr = categoryAttr;
        this.attrValue = attrValue;
    }

    // Property accessors

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Product getProduct() {
        return this.product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    public CategoryAttr getCategoryAttr() {
        return this.categoryAttr;
    }

    public void setCategoryAttr(CategoryAttr categoryAttr) {
        this.categoryAttr = categoryAttr;
    }

    public String getAttrValue() {
        return this.attrValue;
    }

    public void setAttrValue(String attrValue) {
        this.attrValue = attrValue;
    }

    public Integer getOrderIndex() {
        return orderIndex;
    }

    public void setOrderIndex(Integer orderIndex) {
        this.orderIndex = orderIndex;
    }

}
